<!doctype html>
<html lang="en" ng-app="myApp">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="../../lib/angular/angular.js"></script>
    <link href="../../lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <title>登 陆</title>
</head>

<body  ng-controller="loginCtrl">
<div class="container">
<div ng-view><h1>User Login !</h1></div>

<form class="form-horizontal">
    <div class="form-group">
        <label class="col-sm-2 control-label">User Name:</label>
        <div class="col-sm-10">
            <input type="text" ng-model="username"  placeholder="username">
        </div>
    </div>
    <div class="form-group">
        <label class="col-sm-2 control-label">Password:</label>
        <div class="col-sm-10">
            <input type="text" ng-model="password" placeholder="password">
        </div>
    </div>
    <div>
        <hr>
        <button class="btn btn-success" ng-click="send()" ng-disabled="error || incomplete">
            <span class="glyphicon glyphicon-save"></span> 登 录
        </button>
    </div>
</form>
</div>

<!-- script -->
<script src="../../js/login.js"></script>
<!--引入第三方-->
<script src="../../lib/jquery/jquery-2.1.1.js"></script>
<script src="../../lib/bootstrap/js/bootstrap.js"></script>
</body>
</html>
